// PreviousPassword.cpp : implementation of the CPreviousPassword class
//

#include "stdafx.h"
#include "PreviousPassword.h"

CPreviousPassword::CPreviousPassword()
{
	// TODO: add member initialization code here
	
}
CPreviousPassword::~CPreviousPassword()
{

}
bool CPreviousPassword::GetCheck() const
{
	return m_check;
}
void CPreviousPassword::SetCheck(bool nCheck)
{
	m_check=nCheck;
}
int CPreviousPassword::GetNumber() const
{
	return m_number;
}
void CPreviousPassword::SetNumber(int nNumber)
{
	m_number=nNumber;
}


void CPreviousPassword::MapXMLTagsToMembers()
{
	MapAttribute(&m_check,"check");
	MapAttribute(&m_number,"number");
}
IMPLEMENT_FACTORY(CPreviousPassword, PreviousPassword);